@charset "utf-8";

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  position: relative;
  @media screen and (min-width: 375px) {
    font-size: 16px;
  }
  @media screen and (max-width: 374px) {
    font-size: 14px;
  }
  color: #666;
}

.clearfix {
  *zoom: 1;
  &:after {
    content:"\200B";
    display:block;
    height:0;
    clear:both;
  }
}

.m-share-container {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.m-share-iframe {
  width: 100%;
  height: 100%;
}

.m-share-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3em;
  overflow: hidden;
  z-index: 99;
  background-color: rgba(#000, 0.7);
  // .blur {
  //   position: absolute;
  //   top: 0;
  //   right: 0;
  //   bottom: 0;
  //   left: 0;
  //   background-color: rgba(#000, 0.7);
  //   filter: blur(5px);
  // }
  .close {
    float: left;
    margin: 0.75em;
    width: 1.5em;
    height: 1.5em;
    border-radius: 50%;
    background-color: #fff;
    text-align: center;
    text-decoration: none;
    line-height: 1.5;
    color: #666;
  }
  .txt {
    color: #fff;
    line-height: 3;
  }
  .btn {
    float: right;
    heigth: 2em;
    border-radius: 0.2em;
    background-color: #fff;
    margin: 0.5em 0.75em;
    padding: 0 0.5em;
    line-height: 2;
    text-decoration: none;
    color: #666;
  }
}

.m-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(#000, 0.4);
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  .inner {
    width: 80%;
    min-width: 250px;
    max-width: 500px;
    overflow: hidden;
    background-color: #fff;
    border-radius: 0.2em;
    .hd {
      margin: 0 0.5em;
      padding: 0.5em 0;
      border-bottom: 1px solid #eee;
      min-height: 1em;
      @extend .clearfix;
      .close {
        float: right;
        margin: 0 0.75em;
        width: 1.5em;
        height: 1.5em;
        border-radius: 50%;
        background-color: #666;
        text-align: center;
        text-decoration: none;
        line-height: 1.5;
        color: #fff;
      }
      .caption {
        text-indent: 0.5em;
        line-height: 1.5;
      }
    }
    .bd {
      margin: 0 0.5em;
      padding: 0.5em 0;
      min-height: 1em;
    }
  }
}
